<template>
    <div class="table">
        <el-table
            :data="tableData"
            style="width:100%"
            border
        >
            <el-table-column
                type="index"
            ></el-table-column>

            <el-table-column
                prop="userName"
                label="用户名" 
            >
            </el-table-column>

            <el-table-column
                label="用户头像"
            >
                <template slot-scope="scope">
                    <img :src="scope.row.userAvatar" alt="" style="width:40px;height:40px;">
                </template>
            </el-table-column>

            <el-table-column
                prop="getMoney"
                label="提现金额" 
            >
            </el-table-column>

            <el-table-column
                prop="whenGetCash"
                label="提现时间" 
            >
            </el-table-column>


        </el-table>
    </div>
</template>

<script>
export default {
    name: 'Table',
    props: {
        tableData: Array
    },
    data () {
        return {
           
        }
    }
}
</script>

<style lang="stylus" scoped>
    .table
        width 100%
</style>


